package melwi;
public class Hmat { 
	int stringNum=6;
	private int[] poloha;
	private int min;
	
	public Hmat(int[] poloha, int min){
		this.poloha=new int[poloha.length];
		for(int i=0;i<poloha.length;i++){
			this.poloha[i]=poloha[i];
		}
		this.min=min;
	}
			
	public int getMin(){
		return min;
	}
	public int[] getPoloha(){
		return poloha;
	}
	public String toString(){
		String tmp = "Hmat: ";
		for (int i=0;i<stringNum;i++) tmp += this.getPoloha()[i]+",";
		tmp += ". Minimum: "+this.getMin();
		return tmp;
	}
}
